# 元组里有几个hello
tuple1 = (1, 2, 3, True, 'hello')
count1  = tuple1.count('hello')
print(count1)

# 元组里2 的下标
two = tuple1.index(2)
print(two)